package com.example.springcloudwinter.feign;


import com.example.springcloudwinter.bo.BusinessBo;
import com.example.springcloudwinter.dto.ResultEntity;
import org.springframework.stereotype.Component;

@Component
public class BusinessFeignClientCallBack implements BusinessFeignClient{
    @Override
    public ResultEntity<BusinessBo> getBusinessById(int businessId) {
        ResultEntity<BusinessBo> res=new ResultEntity<>();
        res.setCode(401);
        return res;
    }
}
